from django.urls import path
# 导入视图文件
from . import views

urlpatterns = [
    # 获取登录用户信息
    path("getUserInfo/", views.get_user_info),
    # 获取订单中心数据
    path("getOrderCen/", views.get_order_cen),
    # 获取我的服务数据
    path("getMyServe/", views.get_my_server),
    # 更改用户信息
    path("updateUser/", views.user_edit),
    # 上传图片至阿里云oss
    path("file/uploadImg/", views.uploads),
    # 发送QQ邮箱验证码
    path("sendEmailCode/", views.send_email_code),
    # 绑定QQ邮箱
    path("bingEmail/", views.bing_email),
    # 发送修改密码验证码
    path("sendPwdCode/", views.send_pwd_code),
    # 更改用户密码
    path("userUpdatepwd/", views.update_pwd),
    # 添加收货地址
    path("edit/address/", views.add_address),
    # 获取收货地址
    path("getAddress/", views.get_address),
    # 修改默认收货地址
    path("address/default/set/", views.set_default_address),
    # 删除地址
    path("delete/address/", views.delete_address),

]
